<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>DOM</title>
    <style>

        .error {
            padding: 10px;
            color: crimson;
            border: 1px dotted crimson;
        }
        .success {
            padding: 10px;
            color: limegreen;
            border: 1px dotted limegreen;
        }
    </style>
    <link rel="stylesheet" href="./style.css">
</head>
<body>
<h1 id="first">这是我的第一个页面</h1>
<p class="error">你好</p>
<script src="./dom.js"></script>
</body>
</html>